package com.clock.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Data
public class UpdateUserPasswordDTO {
    @NotNull
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @NotNull
    @ApiModelProperty(value = "用户旧密码")
    private String userOldPassword;

    @NotNull
    @ApiModelProperty(value = "用户新密码")
    private String userNewPassword;


}
